package com.xiaoyu.lanling.feature.chat.model.relationship

import `in`.srain.cube.request.JsonData
import java.io.Serializable

class Intimacy(jsonData: JsonData) : Serializable {
    val level = jsonData.optInt("level")
    val totalNum = jsonData.optInt("totalNum")
    val curProgress = jsonData.optInt("curProgress")
    val ruleTitle = jsonData.optString("ruleTitle")
    val ruleDesc = jsonData.optString("ruleDesc")
    val unlockTitle = jsonData.optString("unlockTitle")
    val unlockDesc = jsonData.optString("unlockDesc")

    companion object {
        val MIN_TOTAL_NUM = 2
    }
}